package com.maybach.core.manager;

import com.maybach.util.query.support.PageResult;
import com.maybach.common.model.ActLogDO;
import com.maybach.common.query.ActLogQuery;

import java.util.List;


/**
 * Manager for ActLog.
 */
public interface ActLogManager {
    /**
     * query count by query condition.
     */
    int countByQuery(ActLogQuery query);

    /**
     * delete by query condition.
     */
    int deleteByQuery(ActLogQuery query);

    /**
     * delete by primary key.
     */
    int deleteByPrimaryKey(ActLogDO record);

    /**
     * insert selective.
     */
    long insertSelective(ActLogDO record);

    /**
     * select by query condition.
     */
    List<ActLogDO> selectByQuery(ActLogQuery query);


    /**
     * select by query condition with page.
     */
    PageResult<ActLogDO> selectByQueryWithPage(ActLogQuery query);

    /**
     * select by primary key.
     */
    ActLogDO selectByPrimaryKey(Long id);

    /**
     * update by query condition selective.
     */
    int updateByQuerySelective( ActLogDO record,  ActLogQuery query);

    /**
     * update by query condition.
     */
    int updateByQuery(ActLogDO record, ActLogQuery query);

    /**
     * update by primary key selective.
     */
    int updateByPrimaryKeySelective(ActLogDO record);
}